package com.example.test15middleware.service;

import com.example.test15middleware.producer.KafkaProducer;

import javax.annotation.Resource;

/**
 * @Author: fxy
 * @Date: 2022/03/17/17:26
 * @Description:
 */

public class Test {

    @Resource
    KafkaProducer producer;
    public static void main(String[] args) {

        Test t = new Test();
        t.producer.send("fxyTest",t);

    }
}
